const { defineConfig } = require("@vue/cli-service");
const path = require("path");

const resolve = (dir) => {
  return path.join(__dirname, dir);
};
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: './',
  outputDir: 'blank_project',
  // lintOnSave: false,
  // 允许对内部的 webpack 配置进行更细粒度的修改
  chainWebpack: (config) => {
    config.resolve.alias
      .set("@", resolve("src"))
      .set("components", resolve("src/components"));
  },
});
